
//author:tongdd---2012.02---1.0
if(typeof(fzbill) == 'undefined'){
	var fzbill = {};
}

fzbill.showError = function(obj) {
	if (obj.errorCode != null || obj.errorCode != undefined) {
		var html = obj.errorCode + "<p>" + obj.errorMsg;
		
		var errorWin = new Ext.Window({
			iconCls: 'icon-grid',
			title: "出错啦",
			modal: true,
			width: 450,
			height: 260,
			html: html
		});
		
		errorWin.show();
		return false;
	}
	
	return true;
}
